﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Simulation
{

	public enum EventTypes
	{
		Arrival,
		Departure
	}

    class Event : IComparable<Event>
    {
		public int _executionTime { get; set; }
		public EventTypes _type { get; set; }
		public int _customerID { get; set; }

		public Event(int executionTime, EventTypes eventType, int ID = 0)
		{
			_executionTime = executionTime;
			_type = eventType;
			_customerID = ID;
		}

		public int CompareTo(Event obj)
		{
			return this._executionTime.CompareTo(obj._executionTime);
		}

    }
}
